<?php

namespace app\school\validate;

use think\Validate;

class SchoolSubjectValidate extends Validate
{
    protected $rule = [
        'name'  => 'require',        
    ];
    protected $message = [
        'name.require' => '科目名称不能为空',
    ];

    protected $scene = [
//        'add'  => ['user_login,user_pass,user_email'],
//        'edit' => ['user_login,user_email'],
    ];

}